package cn.bouncyslime.graduationProject.nba.dto;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @author 张一卓
 * @date 2020/4/2 23:47
 **/
@Component
public class PS_PlayerAveragingDto {
    private Integer playerId;
    private String season;
    private String teamId;
    private String teamCName;
    private Integer appearances;
    private BigDecimal playingTime;
    private BigDecimal shootingPercentage;
    private BigDecimal shootingAmount;
    private BigDecimal attempts;
    private BigDecimal threePointPercentage;
    private BigDecimal threePointAmount;
    private BigDecimal threePointAttempts;
    private BigDecimal penaltyKickPercentage;
    private BigDecimal penaltyKickAmount;
    private BigDecimal penaltyKickAttempts;
    private BigDecimal rebound;
    private BigDecimal frontRebound;
    private BigDecimal backRebound;
    private BigDecimal assists;
    private BigDecimal steal;
    private BigDecimal blockShot;
    private BigDecimal fault;
    private BigDecimal foul;
    private BigDecimal score;
    private Integer wins;
    private Integer losses;

    public PS_PlayerAveragingDto() {}

    public PS_PlayerAveragingDto(Integer playerId, String season, String teamId, String teamCName, Integer appearances, BigDecimal playingTime, BigDecimal shootingPercentage, BigDecimal shootingAmount, BigDecimal attempts, BigDecimal threePointPercentage, BigDecimal threePointAmount, BigDecimal threePointAttempts, BigDecimal penaltyKickPercentage, BigDecimal penaltyKickAmount, BigDecimal penaltyKickAttempts, BigDecimal rebound, BigDecimal frontRebound, BigDecimal backRebound, BigDecimal assists, BigDecimal steal, BigDecimal blockShot, BigDecimal fault, BigDecimal foul, BigDecimal score, Integer wins, Integer losses) {
        this.playerId = playerId;
        this.season = season;
        this.teamId = teamId;
        this.teamCName = teamCName;
        this.appearances = appearances;
        this.playingTime = playingTime;
        this.shootingPercentage = shootingPercentage;
        this.shootingAmount = shootingAmount;
        this.attempts = attempts;
        this.threePointPercentage = threePointPercentage;
        this.threePointAmount = threePointAmount;
        this.threePointAttempts = threePointAttempts;
        this.penaltyKickPercentage = penaltyKickPercentage;
        this.penaltyKickAmount = penaltyKickAmount;
        this.penaltyKickAttempts = penaltyKickAttempts;
        this.rebound = rebound;
        this.frontRebound = frontRebound;
        this.backRebound = backRebound;
        this.assists = assists;
        this.steal = steal;
        this.blockShot = blockShot;
        this.fault = fault;
        this.foul = foul;
        this.score = score;
        this.wins = wins;
        this.losses = losses;
    }

    public String getTeamId() {
        return teamId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    public Integer getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Integer playerId) {
        this.playerId = playerId;
    }

    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        this.season = season;
    }

    public String getTeamCName() {
        return teamCName;
    }

    public void setTeamCName(String teamCName) {
        this.teamCName = teamCName;
    }

    public Integer getAppearances() {
        return appearances;
    }

    public void setAppearances(Integer appearances) {
        this.appearances = appearances;
    }

    public BigDecimal getPlayingTime() {
        return playingTime;
    }

    public void setPlayingTime(BigDecimal playingTime) {
        this.playingTime = playingTime;
    }

    public BigDecimal getShootingPercentage() {
        return shootingPercentage;
    }

    public void setShootingPercentage(BigDecimal shootingPercentage) {
        this.shootingPercentage = shootingPercentage;
    }

    public BigDecimal getShootingAmount() {
        return shootingAmount;
    }

    public void setShootingAmount(BigDecimal shootingAmount) {
        this.shootingAmount = shootingAmount;
    }

    public BigDecimal getAttempts() {
        return attempts;
    }

    public void setAttempts(BigDecimal attempts) {
        this.attempts = attempts;
    }

    public BigDecimal getThreePointPercentage() {
        return threePointPercentage;
    }

    public void setThreePointPercentage(BigDecimal threePointPercentage) {
        this.threePointPercentage = threePointPercentage;
    }

    public BigDecimal getThreePointAmount() {
        return threePointAmount;
    }

    public void setThreePointAmount(BigDecimal threePointAmount) {
        this.threePointAmount = threePointAmount;
    }

    public BigDecimal getThreePointAttempts() {
        return threePointAttempts;
    }

    public void setThreePointAttempts(BigDecimal threePointAttempts) {
        this.threePointAttempts = threePointAttempts;
    }

    public BigDecimal getPenaltyKickPercentage() {
        return penaltyKickPercentage;
    }

    public void setPenaltyKickPercentage(BigDecimal penaltyKickPercentage) {
        this.penaltyKickPercentage = penaltyKickPercentage;
    }

    public BigDecimal getPenaltyKickAmount() {
        return penaltyKickAmount;
    }

    public void setPenaltyKickAmount(BigDecimal penaltyKickAmount) {
        this.penaltyKickAmount = penaltyKickAmount;
    }

    public BigDecimal getPenaltyKickAttempts() {
        return penaltyKickAttempts;
    }

    public void setPenaltyKickAttempts(BigDecimal penaltyKickAttempts) {
        this.penaltyKickAttempts = penaltyKickAttempts;
    }

    public BigDecimal getRebound() {
        return rebound;
    }

    public void setRebound(BigDecimal rebound) {
        this.rebound = rebound;
    }

    public BigDecimal getFrontRebound() {
        return frontRebound;
    }

    public void setFrontRebound(BigDecimal frontRebound) {
        this.frontRebound = frontRebound;
    }

    public BigDecimal getBackRebound() {
        return backRebound;
    }

    public void setBackRebound(BigDecimal backRebound) {
        this.backRebound = backRebound;
    }

    public BigDecimal getAssists() {
        return assists;
    }

    public void setAssists(BigDecimal assists) {
        this.assists = assists;
    }

    public BigDecimal getSteal() {
        return steal;
    }

    public void setSteal(BigDecimal steal) {
        this.steal = steal;
    }

    public BigDecimal getBlockShot() {
        return blockShot;
    }

    public void setBlockShot(BigDecimal blockShot) {
        this.blockShot = blockShot;
    }

    public BigDecimal getFault() {
        return fault;
    }

    public void setFault(BigDecimal fault) {
        this.fault = fault;
    }

    public BigDecimal getFoul() {
        return foul;
    }

    public void setFoul(BigDecimal foul) {
        this.foul = foul;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getWins() {
        return wins;
    }

    public void setWins(Integer wins) {
        this.wins = wins;
    }

    public Integer getLosses() {
        return losses;
    }

    public void setLosses(Integer losses) {
        this.losses = losses;
    }

    @Override
    public String toString() {
        return "PS_PlayerAveragingDto{" +
                "playerId=" + playerId +
                ", season='" + season + '\'' +
                ", teamCName='" + teamCName + '\'' +
                ", appearances=" + appearances +
                ", playingTime=" + playingTime +
                ", shootingPercentage=" + shootingPercentage +
                ", shootingAmount=" + shootingAmount +
                ", attempts=" + attempts +
                ", threePointPercentage=" + threePointPercentage +
                ", threePointAmount=" + threePointAmount +
                ", threePointAttempts=" + threePointAttempts +
                ", penaltyKickPercentage=" + penaltyKickPercentage +
                ", penaltyKickAmount=" + penaltyKickAmount +
                ", penaltyKickAttempts=" + penaltyKickAttempts +
                ", rebound=" + rebound +
                ", frontRebound=" + frontRebound +
                ", backRebound=" + backRebound +
                ", assists=" + assists +
                ", steal=" + steal +
                ", blockShot=" + blockShot +
                ", fault=" + fault +
                ", foul=" + foul +
                ", score=" + score +
                ", wins=" + wins +
                ", losses=" + losses +
                '}';
    }
}
